package com.violet.redis.constant;

/**
 * @Author: wqf
 * @Date: 2023/06/14
 * @Description:
 */
public class RedisKeyUtil {

    /**
     * 方法描述: 获取完整的key
     *
     * @param keyPrefix redis key前缀
     * @param value     key value
     * @return java.lang.String
     * @author wqf
     * @date 2023/6/14 14:44
     */
    public static <T> String getCacheKey(T keyPrefix, String value) {
        return keyPrefix + ":" + value;
    }
}
